﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 机构
    /// </summary>
    [ExLanguageKey("Organization")]
    public partial class OrganizationExList
    {
        /// <summary>
        /// 
        /// </summary>
        [ExLanguageKey("OrganizationID")]
        [Key]
        public int OrganizationID { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        [ExLanguageKey("SysStoreID")]
        public int SysStoreID { get; set; }

        /// <summary>
        /// 头像Url
        /// </summary>
        [ExLanguageKey("HeaderUrl")]
        public string HeaderUrl { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [ExLanguageKey("Name")]
        public string Name { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        [ExLanguageKey("PY")]
        public string PY { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [ExLanguageKey("Phone")]
        public string Phone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [ExLanguageKey("Address")]
        public string Address { get; set; }

        /// <summary>
        /// 状态;禁用=0,启用=1;登录需要判断的
        /// </summary>
        [ExLanguageKey("EnumStatus")]
        public EnumStatus EnumStatus { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [ExLanguageKey("IsDel")]
        public bool IsDel { get; set; }

        /// <summary>
        /// 创建员工
        /// </summary>
        [ExLanguageKey("CreateSysEmployeeID")]
        public int? CreateSysEmployeeID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExLanguageKey("CreateDate")]
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExLanguageKey("Remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 店铺;店铺的数据,有Filter的
        /// </summary>
        [ExNoModify]
        [ExLanguageKey("SysStore")]
        public SysStoreExPart SysStore { get; set; }
    }
}
